package cool.taomu.toolkit.logo

import com.google.auto.service.AutoService
import cool.taomu.toolkit.TaomuConfigure
import cool.taomu.toolkit.platform.inter.IPlatform
import org.apache.commons.io.IOUtils

@AutoService(IPlatform)
class LogoPugin implements IPlatform {

    //val static LOG = LoggerFactory.getLogger(LogoPugin);

    override note() {
        try(var input = LogoPugin.classLoader.getResourceAsStream("logo.txt")) {
            return #["LOGO 插件",IOUtils.toString(input, "UTF-8")].join("\n")
        }
    }

    override packages() {
        "cool.taomu.toolkit.logo"
    }

    override module(TaomuConfigure configure) {
    }

    override start() {
    }

    override init() {
    }

}
